<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #box{
            width: 600px;
            height: 600px;
            background-color: pink;
            margin: 0 auto;
            position: relative;
            border-radius: 50%;
            overflow: hidden;
            border:2px solid rgb(104, 104, 104);
        }
     #box>div{
        width: 300px;
        height: 600px;
        background-color: rgb(0, 0, 0);
        /* border-radius: 50%; */
        float: left;
        position: relative;
     }
     #box>#you{
        background-color: rgb(255, 255, 255);
     }
     #zuo::after{
        content: "";
        display: block;
        width: 300px;
        height: 300px;
        background-color: rgb(0, 0, 0);
        border-radius: 50%;
        position: absolute;
        top: 0;
        left: 150px;
        z-index: 2;
     }
     #you::after{
        content: "";
        display: block;
        width: 300px;
        height: 300px;
        background-color: rgb(255, 255, 255);
        border-radius: 50%;
        position: absolute;
        bottom: 0;
        right: 150px;
     }
     #zuo::before{
        content: "";
        display: block;
        width: 150px; 
        height: 150px;
        background-color: rgb(255, 255, 255);
        border-radius: 50%;
        position: absolute;
        z-index: 3;
        left: 225px;
        top: 75px;
     }
     #you::before{
        content: "";
        display: block;
        width: 150px; 
        height: 150px;
        background-color: rgb(0, 0, 0);
        border-radius: 50%;
        position: absolute;
        z-index: 3;
        left: -75px;
        top: 375px;
     }
     /* 可选：添加旋转动画 */
     @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        .taiji {
            animation: rotate 8s linear infinite; /* 持续旋转 */
        }
    </style>
</head>
<body>
    <div id="box" class="taiji">
        <div id="zuo"></div>
        <div id="you"></div>
    </div>
</body>
</html>